<%--
  Created by IntelliJ IDEA.
  User: troy-kou
  Date: 13-12-17
  Time: 上午11:47
  Email:kouhongyu@163.com
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <title></title>
    <script>
        var basePath = "<%=basePath%>";
    </script>
    <link rel="stylesheet" type="text/css" href="<%=basePath %>themes/base/mark/mark_activity.css">
</head>
<body>
<form id="task_form">
    <table class="mark_table" cellspacing="1" cellpadding="1">
        <thead>
        <tr>
            <th colspan="2">日志信息:</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <th>日志ID:</th>
            <td><s:property value="taskJobLog.taskJobLogId"/></td>
        </tr>
        <tr>
            <th>任务名称:</th>
            <td><s:property value="taskJobLog.taskName"/></td>
        </tr>
        <tr>
            <th>返回状态:</th>
            <td>
                <s:if test="taskJobLog.resultRunStatus != null">
                    <s:property value="taskJobLog.resultRunStatus.getCnName()"/>
                </s:if>
            </td>
        </tr>
        <tr>
            <th>
                <nobr>任务开始时间:</nobr>
            </th>
            <td><s:date name="taskJobLog.startTime" format="yyyy-MM-dd HH:mm:ss"/></td>
        </tr>
        <tr>
            <th>
                <nobr>任务结束时间:</nobr>
            </th>
            <td><s:date name="taskJobLog.endTime" format="yyyy-MM-dd HH:mm:ss"/></td>
        </tr>
        <tr>
            <th>返回信息:</th>
            <td>
                <pre style="white-space: pre-wrap!important;"><s:property value="taskJobLog.resultInfo"/></pre>
            </td>
        </tr>
        <tr>
            <th>异常信息:</th>
            <td>
                <pre><s:property value="taskJobLog.exceptionInfo"/></pre>
            </td>
        </tr>
        </tbody>
    </table>
</form>
</body>
</html>